package net.oschina.kjtang.qywx.api;

/**
 * Created by kjtang on 2017/12/1.
 *  微信用户API
 */
public class WxUserAPI {

    //private static final Logger logger = LoggerFactory.getLogger(WxUserAPI.class);
    //1 创建成员
    private static String USER_CREATE_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/create?access_token=ACCESS_TOKEN";
    //2 更新成员
    private static String USER_UPDATE_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/update?access_token=ACCESS_TOKEN";
    //3 删除成员
    private static String USER_DELETE_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/delete?access_token=ACCESS_TOKEN&userid=USERID";
    //4 批量删除成员
    private static String USER_DELETE_ALL_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/batchdelete?access_token=ACCESS_TOKEN";
    //5 获取成员
    private static String USER_GET_URL_BYUSERID = "https://qyapi.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&userid=USERID";
    //6 获取部门下的成员
    private static String USER_GET_DEP_ALL_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/simplelist?access_token=ACCESS_TOKEN&department_id=DEPARTMENT_ID&fetch_child=FETCH_CHILD&status=STATUS";
    //7 获取部门成员(详情)
    private static String USER_GET_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/list?access_token=ACCESS_TOKEN&department_id=DEPARTMENT_ID&fetch_child=FETCH_CHILD&status=STATUS";

}
